///CD_AddEffect(ind, effect, price)

var ind = argument0;
var effect = argument1;
var price = argument2;
var tarr;
tarr[1] = price;
tarr[0] = effect;

var effectlist = ds_list_find_value(ind, CD_EFFECTLIST);
ds_list_add(effectlist, tarr);
